package com.yuguoxy.mytomcat;

import java.io.IOException;

/**
 *  http://ip:port/finduser -> FindUserServlet
 */
public class FindUserServlet extends YGHttpServlet {
    @Override
    public void doGet(YGHttpRequest request, YGHttpResponse response) {
        try {
            response.write("find user get");
        } catch (IOException e) {
            e.printStackTrace();
        }
    }

    @Override
    public void doPost(YGHttpRequest request, YGHttpResponse response) {
        try {
            response.write("find user post");
        } catch (IOException e) {
            e.printStackTrace();
        }
    }
}
